package com.song.service;

import com.song.entity.Dict;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.InputStream;
import java.util.List;

/**
 * <p>
 * 数据字典 服务类
 * </p>
 *
 * @author Song
 * @since 2025-01-03
 */
public interface DictService extends IService<Dict> {

    //数据导入
    public void  importData(InputStream inputStream);

   public List<Dict> listByParentId(Long parentId);

   public List listData();

  public   List<Dict> findByDictCode(String dictCode);

    public String getNameByParentDictCodeAndValue(String dictCode, Integer value);
}
